|
Adjusting rows/columns size The user can adjust width and height of the table’s rows and columns with the help of the "OnCalcWidth" and "OnCalcHeight:" events’ handlers. Let us show how to increase width of the column, which corresponds to the 11th month of 1999 by the following example. To perform this, let us create the "OnCalcWidth" event’s handler: procedure And the result would look as follows:
In our example, to hide a column, it is enough to return the Width := 0. Note, that the sums are not recalculated at the same time, since the matrix is already full of values by this moment. |